:root {
  --bg-color-lzd: #000;
}

@font-face {
  font-family: 'AlibabaPuHuiTi-3-55-Regular';
  src: url('@/assets/AlibabaPuHuiTi-3-55-Regular.ttf') format('truetype'),
}

@font-face {
  font-family: 'AlibabaPuHuiTi-3-75-SemiBold';
  src: url('@/assets/AlibabaPuHuiTi-3-75-SemiBold.ttf') format('truetype'),
}

@font-face {
  font-family: 'D-DIN-PRO-500-Medium';
  src: url('@/assets/D-DIN-PRO-500-Medium.ttf') format('truetype'),
}

body {
  font-family: 'AlibabaPuHuiTi-3-55-Regular', Arial, sans-serif;
  background: linear-gradient(180deg, #00192c, #011b31, #031d37);
}

.family-bold {
  font-family: 'AlibabaPuHuiTi-3-75-SemiBold';
}

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: currentColor;
  /* 2 */
  text-wrap: nowrap;
  text-overflow: ellipsis;
}

.chart-symbol {
  width: 12px;
  height: 12px;
  border-radius: 50px;
  margin-right: 5px;
}

.mapboxgl-ctrl {
  a {
    display: none;
  }
}

.marker {
  transform: translateY(-13px);
  background-color: #52d98b;
  padding: .1rem .5rem;
  border-radius: 5px;
  position: relative;
  box-shadow: 0 0 5px #0005;
}

.marker-center {
  background-color: #ffbe34;
  position: relative;
  z-index: 90;
}

.hover-marker {
  transition: all 0.5s;

  &::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #06a8ff9a;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
  }

  position: relative;
  background-color: #0006;
  width: 150px;
  // height: 80px;
  transform: translateY(-15px);
  box-shadow: 0 0 10px #06A8FF inset;
  border-radius: 5px;
  padding: 10px 8px;

  .hover-title {
    margin-bottom: 8px;
    text-align: center;
    background: linear-gradient(90deg, #06A8FF00, #06a8ffce, #06A8FF00);
  }

  .hover-body {
    display: flex;
    justify-content: space-between;
    height: calc(100% - 33px);
    text-align: center;

    .hover-qu,
    .hover-ban {
      display: flex;
      justify-content: space-around;
      // flex-direction: column;
      // justify-content: space-between;
    }

    .hover-qu {
      width: 100%;
      display: flex;
      justify-content: space-around;

      span {
        color: #52D98B;
        font-size: 16px;
      }
    }

    .hover-ban {
      span {
        color: #52D98B;
        font-size: 16px;
      }
    }
  }
}

.gl-normal-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #07354e;
  line-height: 1rem;
  transition: all 0.2s;
  position: relative;
  z-index: 9;

  &:hover {
    color: #54a1bc;

    &::before {
      opacity: 1;
    }
  }

  &:active {
    color: #54a1bc;

    &::before {
      opacity: 0.5;
    }
  }

  &::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, #0c3d51, #214e67);
    z-index: -1;
    opacity: 0;
    transition: all 0.2s;
  }
}

.gl-normal-button-active {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #07354e;
  line-height: 1rem;
  transition: all 0.2s;
  position: relative;
  z-index: 9;

  &:hover {
    color: #54a1bc;

    &::before {
      opacity: 1;
    }
  }

  &:active {
    color: #54a1bc;

    &::before {
      opacity: 0.5;
    }
  }

  &::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, #0c3d51, #214e67);
    z-index: -1;
    opacity: 1;
    transition: all 0.2s;
  }
}

.gl-active-button {
  background-color: #3f8ef5;
}

.gl-button-groups>* {
  border-right-width: 1px;
  border-left-width: 0px;
}

.gl-button-groups>*:first-child {
  border-left-width: 1px;
}